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

📄 pmsm.mdl

📁 永磁同步电机的直接转矩控制模型
💻 MDL
📖 第 1 页 / 共 4 页
字号:
      Name		      "invert"
      Ports		      [2, 6]
      Position		      [510, 170, 580, 375]
      TreatAsAtomicUnit	      off
      System {
	Name			"invert"
	Location		[156, 426, 1098, 805]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "S"
	  Position		  [25, 103, 55, 117]
	}
	Block {
	  BlockType		  Inport
	  Name			  "area"
	  Position		  [15, 133, 45, 147]
	  Port			  "2"
	}
	Block {
	  BlockType		  Reference
	  Name			  "DC Voltage Source"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Description		  "source block"
	  Ports			  [1, 1]
	  Position		  [514, 40, 536, 100]
	  Orientation		  "up"
	  SourceBlock		  "powerlib2/Electrical\nSources/DC Voltage So"
"urce"
	  SourceType		  "DC Voltage Source"
	  V			  "310"
	  mesure		  "None"
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion"
	  Position		  [340, 16, 395, 44]
	  DataType		  "boolean"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion1"
	  Position		  [315, 171, 365, 199]
	  DataType		  "boolean"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion2"
	  Position		  [340, 101, 395, 129]
	  DataType		  "boolean"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion3"
	  Position		  [625, 6, 680, 34]
	  DataType		  "double"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion4"
	  Position		  [515, 256, 570, 284]
	  DataType		  "double"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion5"
	  Position		  [465, 291, 520, 319]
	  DataType		  "double"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Ground (output)"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [0, 1]
	  Position		  [509, 135, 541, 165]
	  Orientation		  "up"
	  ShowName		  off
	  SourceBlock		  "powerlib2/Connectors/Ground (output)"
	  SourceType		  "Ground"
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator"
	  Ports			  [1, 1]
	  Position		  [345, 54, 375, 86]
	  Operator		  "NOT"
	  Inputs		  "1"
	  AllPortsSameDT	  off
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator1"
	  Ports			  [1, 1]
	  Position		  [350, 134, 380, 166]
	  Operator		  "NOT"
	  Inputs		  "1"
	  AllPortsSameDT	  off
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator2"
	  Ports			  [1, 1]
	  Position		  [325, 204, 355, 236]
	  Operator		  "NOT"
	  Inputs		  "1"
	  AllPortsSameDT	  off
	}
	Block {
	  BlockType		  Lookup
	  Name			  "Look-Up\nTable"
	  Position		  [235, 24, 285, 76]
	  InputValues		  "[1 2 3 4 5 6]"
	  OutputValues		  "[0 0 0 1 1 1]"
	}
	Block {
	  BlockType		  Lookup2D
	  Name			  "Look-Up\nTable (2-D)"
	  Position		  [85, 93, 155, 157]
	  RowIndex		  "[1 2 3 4]"
	  ColumnIndex		  "[1 2 3 4 5 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]"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Lookup
	  Name			  "Look-Up\nTable1"
	  Position		  [235, 99, 285, 151]
	  InputValues		  "[1 2 3 4 5 6]"
	  OutputValues		  "[0 1 1 0 0 1]"
	}
	Block {
	  BlockType		  Lookup
	  Name			  "Look-Up\nTable2"
	  Position		  [235, 179, 285, 231]
	  InputValues		  "[1 2 3 4 5 6]"
	  OutputValues		  "[1 0 1 0 1 0]"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [6, 1]
	  Position		  [440, 38, 450, 237]
	  ShowName		  off
	  Inputs		  "6"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Universal Bridge"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [3, 3]
	  Position		  [620, 74, 665, 186]
	  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		  [740, 88, 770, 102]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Ub"
	  Position		  [740, 123, 770, 137]
	  Port			  "2"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Uc"
	  Position		  [740, 158, 770, 172]
	  Port			  "3"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Sa"
	  Position		  [790, 13, 820, 27]
	  Port			  "4"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Sb"
	  Position		  [680, 263, 710, 277]
	  Port			  "5"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Sc"
	  Position		  [680, 298, 710, 312]
	  Port			  "6"
	}
	Line {
	  SrcBlock		  "Look-Up\nTable (2-D)"
	  SrcPort		  1
	  Points		  [35, 0]
	  Branch {
	    Points		    [0, 0]
	    Branch {
	      DstBlock		      "Look-Up\nTable1"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 80]
	      DstBlock		      "Look-Up\nTable2"
	      DstPort		      1
	    }
	  }
	  Branch {
	    Points		    [0, -75]
	    DstBlock		    "Look-Up\nTable"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Logical\nOperator"
	  SrcPort		  1
	  Points		  [45, 0]
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Look-Up\nTable"
	  SrcPort		  1
	  Points		  [30, 0]
	  Branch {
	    Points		    [0, 20]
	    DstBlock		    "Logical\nOperator"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -20]
	    DstBlock		    "Data Type Conversion"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Look-Up\nTable1"
	  SrcPort		  1
	  Points		  [25, 0]
	  Branch {
	    Points		    [0, 25]
	    DstBlock		    "Logical\nOperator1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -10]
	    DstBlock		    "Data Type Conversion2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Logical\nOperator1"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Look-Up\nTable2"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Points		    [0, 15]
	    DstBlock		    "Logical\nOperator2"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Data Type Conversion1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Logical\nOperator2"
	  SrcPort		  1
	  Points		  [65, 0]
	  DstBlock		  "Mux"
	  DstPort		  6
	}
	Line {
	  SrcBlock		  "Universal Bridge"
	  SrcPort		  1
	  DstBlock		  "Ua"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Universal Bridge"
	  SrcPort		  2
	  DstBlock		  "Ub"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Universal Bridge"
	  SrcPort		  3
	  DstBlock		  "Uc"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type Conversion"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    Points		    [5, 0]
	    DstBlock		    "Mux"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [190, 0]
	    DstBlock		    "Data Type Conversion3"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Data Type Conversion2"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [25, 0]
	    DstBlock		    "Mux"
	    DstPort		    3
	  }
	  Branch {
	    Points		    [0, 155]
	    DstBlock		    "Data Type Conversion4"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Data Type Conversion1"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [55, 0]
	    DstBlock		    "Mux"
	    DstPort		    5
	  }
	  Branch {
	    Points		    [0, 120]
	    DstBlock		    "Data Type Conversion5"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Data Type Conversion3"
	  SrcPort		  1
	  DstBlock		  "Sa"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type Conversion4"
	  SrcPort		  1
	  DstBlock		  "Sb"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type Conversion5"
	  SrcPort		  1
	  DstBlock		  "Sc"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "DC Voltage Source"
	  SrcPort		  1
	  Points		  [80, 0]
	  DstBlock		  "Universal Bridge"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Ground (output)"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    DstBlock		    "Universal Bridge"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "DC Voltage Source"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  Points		  [50, 0; 0, 25]
	  DstBlock		  "Universal Bridge"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "S"
	  SrcPort		  1
	  DstBlock		  "Look-Up\nTable (2-D)"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "area"
	  SrcPort		  1
	  DstBlock		  "Look-Up\nTable (2-D)"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "vbc"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [2, 1]
      Position		      [710, 138, 735, 162]
      SourceBlock	      "powerlib2/Measurements/Voltage Measurement"
      SourceType	      "Voltage Measurement"
      PhasorSimulation	      off
      OutputType	      "Magnitude"
      PSBOutputType	      "0"
      PSBequivalent	      "1"
    }
    Block {
      BlockType		      Scope
      Name		      "vbc (V)"
      Ports		      [1]
      Position		      [765, 135, 795, 165]
      BackgroundColor	      "green"
      Location		      [31, 509, 692, 833]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "0.06"
      YMin		      "-300"
      YMax		      "25"
      SaveName		      "ScopeData1"
      DataFormat	      "Structure"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      SubSystem
      Name		      "磁链估算模型"
      Ports		      [4, 2]
      Position		      [165, 329, 265, 476]
      TreatAsAtomicUnit	      off
      System {
	Name			"磁链估算模型"
	Location		[431, 358, 854, 620]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Ualf"
	  Position		  [85, 28, 115, 42]
	}
	Block {
	  BlockType		  Inport
	  Name			  "ialf"
	  Position		  [15, 58, 45, 72]
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Ubeta"
	  Position		  [95, 103, 125, 117]
	  Port			  "3"
	}
	Block {
	  BlockType		  Inport
	  Name			  "ibeta"
	  Position		  [30, 153, 60, 167]
	  Port			  "4"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [15, 95, 45, 125]
	  Value			  "3"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [215, 55, 245, 85]
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator1"
	  Ports			  [1, 1]
	  Position		  [220, 120, 250, 150]
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [80, 56, 125, 89]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [85, 136, 130, 169]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [170, 49, 190, 91]
	  ShowName		  off
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [170, 112, 190, 168]
	  ShowName		  off
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Outport
	  Name			  "fai_alf"
	  Position		  [295, 63, 325, 77]
	}
	Block {
	  BlockType		  Outport
	  Name			  "fao_beta"
	  Position		  [305, 128, 335, 142]
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [10, 0; 0, 10]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  Points		  [20, 0]
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Ubeta"
	  SrcPort		  1
	  Points		  [10, 0; 0, 25]
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Ualf"
	  SrcPort		  1
	  Points		  [35, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Integrator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Integrator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "ialf"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [0, -30]
	    DstBlock		    "Product"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 35]
	    DstBlock		    "Product1"
	    DstPort		    1
	  }
	}

⌨️ 快捷键说明

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