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

📄 rxasytiaosu.mdl

📁 《MATLAB电机仿真精华50例》书里面的各种模型
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  BlockType		  Inport
	  Name			  "Iabc*"
	  Position		  [25, 128, 55, 142]
	}
	Block {
	  BlockType		  Inport
	  Name			  "Iabc"
	  Position		  [25, 33, 55, 47]
	  Port			  "2"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type \nConversion"
	  Position		  [260, 44, 280, 66]
	  ShowName		  off
	  DataType		  "boolean"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type \nConversion1"
	  Position		  [345, 44, 365, 66]
	  ShowName		  off
	  DataType		  "double"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type \nConversion2"
	  Position		  [345, 94, 365, 116]
	  ShowName		  off
	  DataType		  "double"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type \nConversion3"
	  Position		  [345, 144, 365, 166]
	  ShowName		  off
	  DataType		  "double"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type \nConversion4"
	  Position		  [250, 94, 270, 116]
	  ShowName		  off
	  DataType		  "boolean"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type \nConversion5"
	  Position		  [250, 144, 270, 166]
	  ShowName		  off
	  DataType		  "boolean"
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux1"
	  Ports			  [1, 3]
	  Position		  [85, 20, 90, 60]
	  ShowName		  off
	  Outputs		  "3"
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux2"
	  Ports			  [1, 3]
	  Position		  [85, 115, 90, 155]
	  ShowName		  off
	  Outputs		  "3"
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator"
	  Ports			  [1, 1]
	  Position		  [295, 45, 325, 65]
	  ShowName		  off
	  Operator		  "NOT"
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator1"
	  Ports			  [1, 1]
	  Position		  [290, 95, 320, 115]
	  ShowName		  off
	  Operator		  "NOT"
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator2"
	  Ports			  [1, 1]
	  Position		  [290, 145, 320, 165]
	  ShowName		  off
	  Operator		  "NOT"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [6, 1]
	  Position		  [400, 15, 405, 170]
	  ShowName		  off
	  Inputs		  "6"
	}
	Block {
	  BlockType		  Relay
	  Name			  "Relay"
	  Position		  [200, 17, 220, 43]
	  ShowName		  off
	  OnSwitchValue		  "h/2"
	  OffSwitchValue	  "-h/2"
	}
	Block {
	  BlockType		  Relay
	  Name			  "Relay1"
	  Position		  [200, 67, 220, 93]
	  ShowName		  off
	  OnSwitchValue		  "h/2"
	  OffSwitchValue	  "-h/2"
	}
	Block {
	  BlockType		  Relay
	  Name			  "Relay2"
	  Position		  [200, 117, 220, 143]
	  ShowName		  off
	  OnSwitchValue		  "h/2"
	  OffSwitchValue	  "-h/2"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [160, 19, 180, 41]
	  ShowName		  off
	  Inputs		  "-+"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [160, 69, 180, 91]
	  ShowName		  off
	  Inputs		  "-+"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [160, 119, 180, 141]
	  ShowName		  off
	  Inputs		  "-+"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Pulses"
	  Position		  [425, 88, 455, 102]
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Relay"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Relay1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  2
	  Points		  [25, 0; 0, 35]
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "Pulses"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Iabc"
	  SrcPort		  1
	  DstBlock		  "Demux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  DstBlock		  "Relay2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  3
	  Points		  [15, 0; 0, 70]
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  3
	  Points		  [50, 0]
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  2
	  Points		  [45, 0; 0, -50]
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  1
	  Points		  [35, 0; 0, -85]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Iabc*"
	  SrcPort		  1
	  DstBlock		  "Demux2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Relay"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    DstBlock		    "Mux"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Data Type \nConversion"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Relay1"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "Mux"
	    DstPort		    3
	  }
	  Branch {
	    DstBlock		    "Data Type \nConversion4"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Relay2"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "Mux"
	    DstPort		    5
	  }
	  Branch {
	    Points		    [0, 25]
	    DstBlock		    "Data Type \nConversion5"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Data Type \nConversion"
	  SrcPort		  1
	  DstBlock		  "Logical\nOperator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Logical\nOperator"
	  SrcPort		  1
	  DstBlock		  "Data Type \nConversion1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type \nConversion1"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Logical\nOperator1"
	  SrcPort		  1
	  DstBlock		  "Data Type \nConversion2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type \nConversion2"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Logical\nOperator2"
	  SrcPort		  1
	  DstBlock		  "Data Type \nConversion3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type \nConversion3"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  6
	}
	Line {
	  SrcBlock		  "Data Type \nConversion4"
	  SrcPort		  1
	  DstBlock		  "Logical\nOperator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type \nConversion5"
	  SrcPort		  1
	  DstBlock		  "Logical\nOperator2"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Demux"
      Ports		      [1, 3]
      Position		      [755, 194, 795, 306]
      NamePlacement	      "alternate"
      ShowName		      off
      SourceBlock	      "powerlib2/Machines/Machines\nMeasurement\nDemux"
      SourceType	      "Machine measurements"
      machType		      "Asynchronous"
      ssm1		      on
      ssm2		      on
      ssm3		      on
      ssm4		      on
      ssm5		      on
      ssm6		      on
      sm1		      on
      sm2		      on
      sm3		      on
      sm4		      on
      sm5		      on
      sm6		      on
      sm7		      on
      sm8		      on
      sm9		      on
      sm10		      on
      sm11		      on
      sm115		      off
      sm12		      off
      sm13		      off
      sm14		      off
      asm1		      off
      asm2		      off
      asm3		      off
      asm4		      off
      asm5		      on
      asm6		      off
      asm7		      off
      asm8		      off
      asm9		      on
      asm10		      on
      asm11		      off
      pmsm1		      on
      pmsm2		      on
      pmsm3		      on
      pmsm4		      on
      pmsm5		      on
      pmsm6		      on
      lastType		      "3"
    }
    Block {
      BlockType		      Reference
      Name		      "Discret System Block"
      Ports		      []
      Position		      [631, 39, 745, 73]
      DropShadow	      on
      ShowName		      off
      FontName		      "new century schoolbook"
      FontSize		      12
      SourceBlock	      "powerlib2/Discrete System"
      SourceType	      "PSB option block system"
      methode		      "off"
      Ts		      "2e-6"
    }
    Block {
      BlockType		      Reference
      Name		      "IGBT Inverter"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [3, 3]
      Position		      [535, 207, 600, 273]
      NamePlacement	      "alternate"
      ShowName		      off
      SourceBlock	      "powerlib2/Power\nElectronics/Universal Bridge"
      SourceType	      "Universal Bridge"
      arms		      "3"
      confi		      "ABC as output terminals"
      injcc		      "1000"
      cf		      "inf"
      device		      "IGBT / Diodes"
      Ron		      "1e-3"
      Lon		      "0"
      VFs		      "[  0.8  0.8  ]"
      Vf		      ".8"
      gtoparameters	      "[ 1e-6 , 1e-6 ]"
      igbtparameters	      "[ 1e-6 , 2e-6 ]"
      mesure		      "None"
      PSBOutputType	      "111"
    }
    Block {
      BlockType		      Reference
      Name		      "Induction Motor\n50 HP / 460 V"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [4, 1]
      Position		      [655, 207, 730, 293]
      NamePlacement	      "alternate"
      ShowName		      off
      SourceBlock	      "powerlib2/Machines/Asynchronous Machine\nSI Uni"
"ts"
      SourceType	      "Asynchronous Machine"
      rotType		      "Squirrel-cage"
      ctrl		      "Stationary"
      x1		      "[ 50*746, 460, 60 ]"
      x2		      "[ 0.087 0.8e-3 ]"
      x3		      "[ 0.228  0.8e-3 ]"
      x4		      "34.7e-3"
      x5		      "[1.662  0.1 2 ]"
      x6		      "[ 1, 0 ,  0 , 0 , 0 , 0 , 0 , 0 ]"
      PSBOutputType	      "1110"
      iounits		      "1"
      LoadFlowParameters      "0"
    }
    Block {
      BlockType		      Step
      Name		      "Load_torque"
      Position		      [540, 348, 570, 372]
      NamePlacement	      "alternate"
      ShowName		      off
      After		      "200"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Constant
      Name		      "Load_torque "
      Position		      [530, 303, 560, 327]
      NamePlacement	      "alternate"
      ShowName		      off
      Value		      "0"
    }
    Block {
      BlockType		      Constant
      Name		      "Phir*"
      Position		      [185, 258, 215, 282]
      NamePlacement	      "alternate"
      ShowName		      off
      Value		      "0.96"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [4]
      Position		      [885, 180, 920, 260]
      BackgroundColor	      "green"
      NamePlacement	      "alternate"
      ShowName		      off
      Location		      [1, 49, 1281, 993]
      Open		      off
      NumInputPorts	      "4"
      TickLabels	      "on"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"iabc"
	axes3			"Te"
	axes4			"w"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
	axes3			""
	axes4			""
      }
      TimeRange		      "1.5"
      YMin		      "-1000~-500~0~0"
      YMax		      "1000~500~350~90"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      Decimation	      "20"
      SampleTime	      "5e-6"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Speed_controller"
      Ports		      [2, 1]
      Position		      [105, 210, 165, 265]
      NamePlacement	      "alternate"
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskType		      "PI controller"
      MaskDescription	      "Proportional-Integral Speed Controller"
      MaskPromptString	      "Proportional gain (Kp)|Integral gain (Ki)|Torqu"
"e limit (N.m)|Sampling time (s)"
      MaskStyleString	      "edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on"
      MaskCallbackString      "|||"
      MaskEnableString	      "on,on,on,on"
      MaskVisibilityString    "on,on,on,on"
      MaskToolTipString	      "on,on,on,on"
      MaskVarAliasString      ",,,"
      MaskVariables	      "Kp=@1;Ki=@2;Tlim=@3;Ts=@4;"
      MaskDisplay	      "plot(0,0,100,100,[35,35,65],[70,30,30],[35,65],"
"[45,60])"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"

⌨️ 快捷键说明

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