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

📄 pmsmdtc.mdl

📁 对PMSM算法的直接转矩控制
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  Name			  "Product1"
	  Ports			  [3, 1]
	  Position		  [290, 221, 305, 259]
	  Inputs		  "3"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [3, 1]
	  Position		  [225, 26, 235, 114]
	  ShowName		  off
	  Inputs		  "|+--"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [230, 211, 240, 269]
	  ShowName		  off
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Outport
	  Name			  "U_alpha"
	  Position		  [345, 63, 375, 77]
	}
	Block {
	  BlockType		  Outport
	  Name			  "U_beta"
	  Position		  [350, 233, 380, 247]
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "Sc"
	  SrcPort		  1
	  Points		  [0, 0; 30, 0]
	  Branch {
	    DstBlock		    "Gain2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -50]
	    DstBlock		    "Gain3"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Sb"
	  SrcPort		  1
	  Points		  [0, 0; 25, 0]
	  Branch {
	    Points		    [0, -50]
	    DstBlock		    "Gain"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Gain1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sa"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain3"
	  SrcPort		  1
	  Points		  [15, 0; 0, -110]
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  Points		  [25, 0; 0, 110]
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Product1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [-15, 0; 0, 25]
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Udc"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [0, 80]
	    DstBlock		    "Product1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -70]
	    DstBlock		    "Product"
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [-15, 0; 0, -45]
	  DstBlock		  "Product1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "U_alpha"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  DstBlock		  "U_beta"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Constant
      Name		      "Constant"
      Position		      [235, 427, 265, 453]
      Value		      "3"
    }
    Block {
      BlockType		      Demux
      Name		      "Demux"
      Ports		      [1, 3]
      Position		      [645, 61, 650, 119]
      Orientation	      "left"
      BackgroundColor	      "black"
      NamePlacement	      "alternate"
      ShowName		      off
      Outputs		      "3"
    }
    Block {
      BlockType		      Constant
      Name		      "F给定"
      Position		      [585, 175, 615, 195]
    }
    Block {
      BlockType		      Gain
      Name		      "Gain"
      Position		      [820, 500, 850, 530]
      Orientation	      "left"
      NamePlacement	      "alternate"
      Gain		      "2"
    }
    Block {
      BlockType		      Reference
      Name		      "Machines\nMeasurement\nDemux"
      Ports		      [1, 4]
      Position		      [905, 177, 965, 253]
      SourceBlock	      "powerlib2/Machines/Machines\nMeasurement\nDemux"
      SourceType	      "Machine measurements"
      machType		      "Permanent magnet synchronous"
      ssm1		      on
      ssm2		      on
      ssm3		      on
      ssm4		      on
      ssm5		      on
      ssm6		      on
      sm1		      on
      sm2		      off
      sm3		      off
      sm4		      off
      sm5		      off
      sm6		      off
      sm7		      off
      sm8		      on
      sm9		      off
      sm10		      off
      sm11		      off
      sm115		      on
      sm12		      off
      sm13		      off
      sm14		      off
      asm1		      on
      asm2		      on
      asm3		      on
      asm4		      on
      asm5		      on
      asm6		      on
      asm7		      on
      asm8		      on
      asm9		      on
      asm10		      on
      asm11		      on
      pmsm1		      on
      pmsm2		      off
      pmsm3		      off
      pmsm4		      on
      pmsm5		      on
      pmsm6		      on
      lastType		      "1"
    }
    Block {
      BlockType		      SubSystem
      Name		      "PI"
      Ports		      [1, 1]
      Position		      [530, 419, 580, 501]
      TreatAsAtomicUnit	      off
      System {
	Name			"PI"
	Location		[2, 83, 1014, 722]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "w"
	  Position		  [350, 293, 380, 307]
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [460, 230, 490, 260]
	  Gain			  "2"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [420, 285, 450, 315]
	  Gain			  "0.5"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [470, 285, 500, 315]
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation"
	  Position		  [605, 230, 635, 260]
	  UpperLimit		  "1.6"
	  LowerLimit		  "-1.6"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [530, 223, 550, 267]
	  ShowName		  off
	  Inputs		  "|++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Te给定"
	  Position		  [665, 238, 695, 252]
	}
	Line {
	  SrcBlock		  "w"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    Points		    [0, -55]
	    DstBlock		    "Gain"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Gain1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  Points		  [5, 0; 0, -40]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Saturation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Saturation"
	  SrcPort		  1
	  DstBlock		  "Te给定"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "Integrator"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Permanent Magnet\nSynchronous Machine"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [4, 1]
      Position		      [810, 171, 890, 259]
      SourceBlock	      "powerlib2/Machines/Permanent Magnet\nSynchronou"
"s Machine"
      SourceType	      "PM Synchronous Machine"
      x1		      "3"
      x2		      "[0.168, 0.168]"
      x3		      "0.175"
      x4		      "[ 0.8e-3, 0,  2 ]"
      PSBOutputType	      "0"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [485, 431, 505, 489]
      ShowName		      off
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Te"
      Ports		      [5, 1]
      Position		      [465, 125, 535, 295]
      TreatAsAtomicUnit	      off
      System {
	Name			"Te"
	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, 173, 55, 187]
	}
	Block {
	  BlockType		  Inport
	  Name			  "i_beta"
	  Position		  [25, 73, 55, 87]
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Fi_alpha"
	  Position		  [25, 38, 55, 52]
	  Port			  "3"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Fi_beta"
	  Position		  [25, 138, 55, 152]
	  Port			  "4"
	}
	Block {
	  BlockType		  Inport
	  Name			  "np"
	  Position		  [180, 93, 210, 107]
	  Port			  "5"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [225, 50, 255, 80]
	  Gain			  "3/2"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [80, 27, 90, 98]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [80, 127, 90, 198]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product2"
	  Ports			  [2, 1]
	  Position		  [239, 140, 286, 155]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [135, 34, 165, 96]
	  ShowName		  off
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	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"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      YMin		      "-22.5"
      YMax		      "25"
      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		[0, 83, 1012, 744]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	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

⌨️ 快捷键说明

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