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

📄 pmsmdtc.mdl

📁 对PMSM算法的直接转矩控制
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	Block {
	  BlockType		  Outport
	  Name			  "Te"
	  Position		  [180, 170, 210, 180]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	}
	Line {
	  SrcBlock		  "i_alpha"
	  SrcPort		  1
	  DstBlock		  "Product1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Fi_beta"
	  SrcPort		  1
	  DstBlock		  "Product1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fi_alpha"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "i_beta"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  Points		  [10, 0; 0, -80]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Product2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "np"
	  SrcPort		  1
	  Points		  [35, 0]
	  DstBlock		  "Product2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product2"
	  SrcPort		  1
	  Points		  [0, 15]
	  DstBlock		  "Te"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "Te1"
      Ports		      [1]
      Position		      [860, 390, 890, 420]
      Orientation	      "left"
      NamePlacement	      "alternate"
      Location		      [5, 60, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-22.5"
      YMax		      "25"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Te2"
      Ports		      [1]
      Position		      [755, 610, 785, 640]
      Orientation	      "left"
      NamePlacement	      "alternate"
      Location		      [5, 60, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-1"
      YMax		      "1"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Constant
      Name		      "Udc"
      Position		      [105, 305, 135, 335]
      Value		      "310"
    }
    Block {
      BlockType		      Reference
      Name		      "XY Graph"
      Ports		      [2]
      Position		      [465, 590, 495, 625]
      SourceBlock	      "simulink/Sinks/XY Graph"
      SourceType	      "XY scope."
      xmin		      "-1"
      xmax		      "1"
      ymin		      "-1"
      ymax		      "1"
      st		      "-1"
    }
    Block {
      BlockType		      SubSystem
      Name		      "delta"
      Ports		      [2, 1]
      Position		      [425, 340, 490, 420]
      TreatAsAtomicUnit	      off
      System {
	Name			"delta"
	Location		[-200, 88, 816, 742]
	Open			off
	ModelBrowserVisibility	on
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"92"
	Block {
	  BlockType		  Inport
	  Name			  "Fi_alpha"
	  Position		  [315, 263, 345, 277]
	}
	Block {
	  BlockType		  Inport
	  Name			  "Fi_beta"
	  Position		  [315, 218, 345, 232]
	  Port			  "2"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [545, 333, 565, 357]
	  Value			  "pi"
	}
	Block {
	  BlockType		  Product
	  Name			  "Divide"
	  Ports			  [2, 1]
	  Position		  [415, 201, 440, 294]
	  Inputs		  "*/"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	  OutDataTypeMode	  "double"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  MATLABFcn
	  Name			  "MATLAB Fcn"
	  Position		  [485, 195, 545, 225]
	  MATLABFcn		  "atan"
	  OutputDimensions	  "1"
	  Output1D		  off
	}
	Block {
	  BlockType		  MATLABFcn
	  Name			  "MATLAB Fcn1"
	  Position		  [485, 280, 545, 310]
	  MATLABFcn		  "atan"
	  OutputDimensions	  "1"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [575, 285, 595, 305]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [655, 199, 680, 261]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "delta"
	  Position		  [710, 223, 740, 237]
	}
	Line {
	  SrcBlock		  "Fi_alpha"
	  SrcPort		  1
	  Points		  [0, 0; 20, 0]
	  Branch {
	    Points		    [0, 110; 240, 0; 0, -150]
	    DstBlock		    "Switch"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Divide"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Fi_beta"
	  SrcPort		  1
	  DstBlock		  "Divide"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Divide"
	  SrcPort		  1
	  Points		  [0, 0; 15, 0]
	  Branch {
	    Points		    [0, -40]
	    DstBlock		    "MATLAB Fcn"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 45]
	    DstBlock		    "MATLAB Fcn1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "MATLAB Fcn1"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "MATLAB Fcn"
	  SrcPort		  1
	  DstBlock		  "Switch"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  Points		  [30, 0; 0, -45]
	  DstBlock		  "Switch"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  DstBlock		  "delta"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "flux"
      Ports		      [5, 2]
      Position		      [300, 191, 370, 469]
      TreatAsAtomicUnit	      off
      System {
	Name			"flux"
	Location		[202, 83, 1014, 721]
	Open			off
	ModelBrowserVisibility	on
	ModelBrowserWidth	212
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "i_alpha"
	  Position		  [25, 53, 55, 67]
	}
	Block {
	  BlockType		  Inport
	  Name			  "i_beta"
	  Position		  [25, 198, 55, 212]
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "U_alpha"
	  Position		  [25, 23, 55, 37]
	  Port			  "3"
	}
	Block {
	  BlockType		  Inport
	  Name			  "U_beta"
	  Position		  [125, 148, 155, 162]
	  Port			  "4"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Rs"
	  Position		  [25, 123, 55, 137]
	  Port			  "5"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [305, 75, 335, 105]
	  Value			  "0.05"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [305, 205, 335, 235]
	  Value			  "0.05"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [245, 35, 275, 65]
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator1"
	  Ports			  [1, 1]
	  Position		  [245, 165, 275, 195]
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [120, 52, 150, 83]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [125, 182, 155, 213]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [190, 22, 200, 78]
	  ShowName		  off
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [195, 152, 205, 208]
	  ShowName		  off
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [395, 35, 425, 65]
	  Criteria		  "u2 ~= 0"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch1"
	  Position		  [395, 165, 425, 195]
	  Criteria		  "u2 ~= 0"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Fi_alpha"
	  Position		  [490, 43, 520, 57]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Fi_beta"
	  Position		  [485, 173, 515, 187]
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "i_alpha"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Rs"
	  SrcPort		  1
	  Points		  [0, 0; 20, 0]
	  Branch {
	    Points		    [0, 60]
	    DstBlock		    "Product1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -55]
	    DstBlock		    "Product"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "i_beta"
	  SrcPort		  1
	  DstBlock		  "Product1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "U_alpha"
	  SrcPort		  1
	  Points		  [55, 0; 0, 20]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "U_beta"
	  SrcPort		  1
	  Points		  [10, 0; 0, 25]
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Integrator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Integrator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [10, 0; 0, -30]
	  DstBlock		  "Switch"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  DstBlock		  "Fi_alpha"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  Points		  [30, 0]
	  Branch {
	    DstBlock		    "Switch"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, -10]
	    DstBlock		    "Switch"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  Points		  [10, 0; 0, -30]
	  DstBlock		  "Switch1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Switch1"
	  SrcPort		  1
	  DstBlock		  "Fi_beta"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integrator1"
	  SrcPort		  1
	  Points		  [30, 0]
	  Branch {
	    Points		    [0, -10]
	    DstBlock		    "Switch1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Switch1"
	    DstPort		    2
	  }
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "inventer"
      Ports		      [6, 6]
      Position		      [655, 160, 750, 350]
      TreatAsAtomicUnit	      off
      System {
	Name			"inventer"
	Location		[330, 78, 1022, 717]
	Open			off
	ModelBrowserVisibility	on
	ModelBrowserWidth	212
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"69"
	Block {
	  BlockType		  Inport
	  Name			  "Fi给定"
	  Position		  [75, 33, 105, 47]
	}
	Block {
	  BlockType		  Inport
	  Name			  "Te估算"
	  Position		  [80, 243, 110, 257]
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Fi_beta"
	  Position		  [25, 128, 55, 142]
	  NamePlacement		  "alternate"
	  Port			  "3"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Fi_alpha"
	  Position		  [25, 158, 55, 172]
	  Port			  "4"
	}
	Block {
	  BlockType		  Inport

⌨️ 快捷键说明

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