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

📄 pmsmdtc.mdl

📁 对PMSM算法的直接转矩控制
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  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		[2, 82, 1014, 721]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	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		[2, 83, 1014, 705]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	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
	  Name			  "section"
	  Position		  [380, 248, 410, 262]
	  Port			  "5"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Te给定"
	  Position		  [80, 208, 110, 222]
	  Port			  "6"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [230, 150, 260, 180]
	}
	Block {
	  BlockType		  Reference
	  Name			  "DC Voltage Source"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Description		  "source block"
	  Ports			  [1, 1]
	  Position		  [741, 175, 779, 315]
	  Orientation		  "up"
	  NamePlacement		  "alternate"
	  SourceBlock		  "powerlib2/Electrical\nSources/DC Voltage So"
"urce"
	  SourceType		  "DC Voltage Source"
	  V			  "310"
	  mesure		  "None"
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
	  Ports			  [1, 6]
	  Position		  [605, 48, 630, 182]
	  BackgroundColor	  "black"
	  ShowName		  off
	  Outputs		  "6"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [275, 25, 305, 55]
	  Gain			  "2"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Ground (output)"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [0, 1]
	  Position		  [744, 350, 776, 380]
	  Orientation		  "up"
	  ShowName		  off
	  SourceBlock		  "powerlib2/Connectors/Ground (output)"
	  SourceType		  "Ground"
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Lookup2D
	  Name			  "Look-Up\nTable (2-D)"
	  Position		  [440, 218, 470, 267]
	  RowIndex		  "[1:4]"
	  ColumnIndex		  "[1:6]"
	  OutputValues		  "[1 5 4 6 2 3;2 3 1 5 4 6;5 4 6 2 3 1;6 2 3 "
"1 5 4]"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  MATLABFcn
	  Name			  "MATLAB Fcn"
	  Position		  [515, 230, 575, 260]
	  MATLABFcn		  "select"
	  OutputDimensions	  "6"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction"
	  Ports			  [1, 1]
	  Position		  [80, 127, 105, 143]
	  NamePlacement		  "alternate"
	  Operator		  "square"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction1"
	  Ports			  [1, 1]
	  Position		  [80, 157, 105, 173]
	  Operator		  "square"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction2"
	  Ports			  [1, 1]
	  Position		  [150, 80, 180, 100]
	  Orientation		  "up"
	  Operator		  "sqrt"
	}
	Block {
	  BlockType		  Relay
	  Name			  "Relay"
	  Position		  [230, 25, 260, 55]
	  OnSwitchValue		  "0.005"
	  OffSwitchValue	  "-0.005"
	}
	Block {
	  BlockType		  Relay
	  Name			  "Relay1"
	  Position		  [225, 200, 255, 230]
	  OnSwitchValue		  "0.2"
	  OffSwitchValue	  "-0.2"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope"
	  Ports			  [1]
	  Position		  [690, 69, 720, 101]
	  Location		  [1, 56, 1025, 737]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  YMin			  "-1"
	  YMax			  "2"
	  SaveName		  "ScopeData5"
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope1"
	  Ports			  [1]
	  Position		  [690, 114, 720, 146]
	  Location		  [188, 365, 512, 604]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData6"
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope2"
	  Ports			  [1]
	  Position		  [690, 164, 720, 196]
	  Location		  [1, 56, 1025, 737]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData7"
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [3, 1]
	  Position		  [335, 119, 380, 191]
	  ShowName		  off
	  Inputs		  "|+++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [150, 205, 170, 225]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum3"
	  Ports			  [2, 1]
	  Position		  [125, 125, 145, 145]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum4"
	  Ports			  [2, 1]
	  Position		  [155, 30, 175, 50]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Universal Bridge"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [3, 3]
	  Position		  [830, 111, 910, 399]
	  SourceBlock		  "powerlib2/Power\nElectronics/Universal Brid"
"ge"
	  SourceType		  "Universal Bridge"
	  arms			  "3"
	  confi			  "ABC as output terminals"
	  injcc			  "1e5"
	  cf			  "inf"
	  device		  "Ideal Switches"
	  Ron			  "1e-3"
	  Lon			  "0"
	  VFs			  "[  0  0  ]"
	  Vf			  "0"
	  gtoparameters		  "[ 10e-6 , 20e-6 ]"
	  igbtparameters	  "[ 1e-6 , 2e-6 ]"
	  mesure		  "None"
	  PSBOutputType		  "111"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Ua"
	  Position		  [1115, 153, 1145, 167]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Ub"
	  Position		  [1115, 248, 1145, 262]
	  Port			  "2"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Uc"
	  Position		  [1115, 343, 1145, 357]
	  Port			  "3"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Sa"
	  Position		  [660, 58, 690, 72]
	  Port			  "4"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Sb"
	  Position		  [770, 98, 800, 112]
	  Port			  "5"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Sc"
	  Position		  [795, 138, 825, 152]
	  Port			  "6"
	}
	Line {
	  SrcBlock		  "Universal Bridge"
	  SrcPort		  3
	  DstBlock		  "Uc"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Universal Bridge"
	  SrcPort		  2
	  DstBlock		  "Ub"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Universal Bridge"
	  SrcPort		  1
	  DstBlock		  "Ua"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "DC Voltage Source"
	  SrcPort		  1
	  Points		  [0, -10]
	  DstBlock		  "Universal Bridge"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fi_beta"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fi_alpha"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fi给定"
	  SrcPort		  1
	  DstBlock		  "Sum4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum4"
	  SrcPort		  1
	  DstBlock		  "Relay"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Te给定"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Te估算"
	  SrcPort		  1
	  Points		  [45, 0]
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  DstBlock		  "Relay1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Relay1"
	  SrcPort		  1
	  Points		  [20, 0; 0, -30]
	  DstBlock		  "Sum1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Relay"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "section"
	  SrcPort		  1
	  DstBlock		  "Look-Up\nTable (2-D)"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [35, 0; 0, 65; -25, 0]

⌨️ 快捷键说明

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