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

📄 shiliangkongzhi.mdl

📁 是矢量控制的仿真
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  BlockType		  Inport
	  Name			  "Iq*"
	  Position		  [55, 83, 85, 97]
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Teta"
	  Position		  [15, 23, 45, 37]
	  Port			  "3"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [75, 51, 105, 69]
	  ShowName		  off
	  Expr			  "sin(u)"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [75, 19, 105, 41]
	  ShowName		  off
	  Expr			  "cos(u)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain2"
	  Position		  [235, 38, 250, 62]
	  ShowName		  off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain3"
	  Position		  [265, 68, 280, 92]
	  ShowName		  off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain4"
	  Position		  [290, 98, 305, 122]
	  ShowName		  off
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [4, 1]
	  Position		  [125, 15, 130, 135]
	  ShowName		  off
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux2"
	  Ports			  [3, 1]
	  Position		  [340, 37, 345, 123]
	  ShowName		  off
	  Inputs		  "3"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "ia"
	  Position		  [165, 40, 190, 60]
	  NamePlacement		  "alternate"
	  Expr			  "-u[3]*u[2] + u[4]*u[1] "
	}
	Block {
	  BlockType		  Fcn
	  Name			  "ib"
	  Position		  [165, 71, 190, 89]
	  Expr			  "(-u[1]+1.7320508*u[2])*u[4]*0.5+(u[2]+1.732"
"0508*u[1])*u[3]*0.5"
	}
	Block {
	  BlockType		  Sum
	  Name			  "ic"
	  Ports			  [2, 1]
	  Position		  [240, 92, 250, 123]
	  Inputs		  "--"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Iabc*"
	  Position		  [370, 73, 400, 87]
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Fcn1"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux2"
	  SrcPort		  1
	  DstBlock		  "Iabc*"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Points		    [0, 5]
	    DstBlock		    "ib"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -25]
	    DstBlock		    "ia"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Teta"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "Fcn1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Fcn"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Iq*"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Id*"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Gain3"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "ic"
	  SrcPort		  1
	  DstBlock		  "Gain4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain4"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "ia"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "Gain2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 65]
	    DstBlock		    "ic"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "ib"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    DstBlock		    "Gain3"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 20]
	    DstBlock		    "ic"
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Demux"
      Ports		      [1, 3]
      Position		      [770, 209, 810, 321]
      NamePlacement	      "alternate"
      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		      SubSystem
      Name		      "Flux Calculation"
      Ports		      [1, 1]
      Position		      [280, 35, 365, 65]
      Orientation	      "left"
      NamePlacement	      "alternate"
      TreatAsAtomicUnit	      off
      MaskType		      "Flux Calcultation"
      MaskInitialization      "NF=0.44572610323020e-6;\nDF=[1 -0.9999871548673"
"4];"
      MaskDisplay	      "disp('Flux\\nCalc.')"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Flux Calculation"
	Location		[473, 242, 857, 450]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Id"
	  Position		  [320, 38, 350, 52]
	  Orientation		  "left"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Discrete Tranfer Function"
	  Ports			  [1, 1]
	  Position		  [95, 20, 165, 70]
	  Orientation		  "left"
	  TreatAsAtomicUnit	  off
	  MaskType		  "First Order Low Pass Filter (Discrete)"
	  MaskDescription	  "H(s)=1/(1+T.s)"
	  MaskPromptString	  "Time constant T (s) :|Time step (s)"
	  MaskStyleString	  "edit,edit"
	  MaskTunableValueString  "on,on"
	  MaskCallbackString	  "|"
	  MaskEnableString	  "on,on"
	  MaskVisibilityString	  "on,on"
	  MaskToolTipString	  "on,on"
	  MaskVarAliasString	  ","
	  MaskVariables		  "T=@1;Ts=@2;"
	  MaskInitialization	  " X=[0 1 2 3 4];\n Y=[-2 -2 -3 -4 -4];\n str"
"=sprintf('\\nH=1/(1+T.s)\\n T= %g s\\n\\n\\n',T);\nnum=1;\nden=[T 1];\n\n% di"
"screte transfer function\n% descending powers of z\nnumd= Ts/T;\ndend=[ 1  (T"
"s-T)/T];\n\n"
	  MaskDisplay		  "plot(X,Y);\ndisp(str);\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "0.0302|2e-6"
	  System {
	    Name		    "Discrete Tranfer Function"
	    Location		    [565, 312, 994, 482]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In"
	      Position		      [25, 38, 55, 52]
	    }
	    Block {
	      BlockType		      DiscreteTransferFcn
	      Name		      "Discrete\nTransfer Fcn"
	      Position		      [75, 27, 135, 63]
	      Numerator		      "numd"
	      Denominator	      "dend"
	      SampleTime	      "Ts"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out"
	      Position		      [165, 38, 195, 52]
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "Discrete\nTransfer Fcn"
	      SrcPort		      1
	      DstBlock		      "Out"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In"
	      SrcPort		      1
	      DstBlock		      "Discrete\nTransfer Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "Lm"
	  Position		  [220, 27, 280, 63]
	  Orientation		  "left"
	  Gain			  "34.7e-3"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Phir"
	  Position		  [25, 38, 55, 52]
	  Orientation		  "left"
	}
	Line {
	  SrcBlock		  "Discrete Tranfer Function"
	  SrcPort		  1
	  DstBlock		  "Phir"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Id"
	  SrcPort		  1
	  DstBlock		  "Lm"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Lm"
	  SrcPort		  1
	  DstBlock		  "Discrete Tranfer Function"
	  DstPort		  1
	}
	Annotation {
	  Name			  "Phir = Lm *Id  / (1 +Tr .s) "
	  Position		  [95, 118]
	}
	Annotation {
	  Name			  "Lm = 34.7 mH"
	  Position		  [74, 139]
	}
	Annotation {
	  Name			  "Lr = Ll'r +Lm = 0.8 +34.7= 35.5 mH"
	  Position		  [124, 179]
	}
	Annotation {
	  Name			  "Tr = Lr / Rr = 0.1557 s"
	  Position		  [89, 159]
	}
	Annotation {
	  Name			  "Rr =  0.228 ohms"
	  Position		  [284, 179]
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "IGBT Inverter"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [3, 3]
      Position		      [565, 222, 630, 288]
      NamePlacement	      "alternate"
      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		      [670, 222, 745, 308]
      NamePlacement	      "alternate"
      SourceBlock	      "powerlib2/Machines/Asynchronous Machine\nSI Uni"
"ts"
      SourceType	      "Asynchronous Machine"
      rotType		      "Squirrel-cage"
      ctrl		      "Stationary"
      x1		      "[ 500, 127, 50 ]"
      x2		      "[ 4.495 0.013 ]"
      x3		      "[ 5.365  0.013 ]"
      x4		      "0.149"
      x5		      "[0.00095  0 2 ]"
      x6		      "[ 1, 0 ,  0 , 0 , 0 , 0 , 0 , 0 ]"
      PSBOutputType	      "1110"
      iounits		      "1"
      LoadFlowParameters      "0"
    }
    Block {
      BlockType		      Step
      Name		      "Load_torque"
      Position		      [590, 308, 620, 332]
      NamePlacement	      "alternate"
      Time		      "0.6"
      After		      "2"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [4]
      Position		      [900, 138, 935, 222]
      BackgroundColor	      "green"
      NamePlacement	      "alternate"
      Location		      [5, 60, 1029, 737]
      Open		      off
      NumInputPorts	      "4"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
	axes3			""
	axes4			""
      }
      TimeRange		      "1.4"
      YMin		      "-400~-2.5~-0.2~101.9"
      YMax		      "400~2.5~0.2~102.7"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      Decimation	      "20"
      SampleTime	      "5e-6"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [1]
      Position		      [905, 423, 935, 457]
      Location		      [5, 60, 1029, 737]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "0.0666875"
      YMax		      "0.0667325"
      SaveToWorkspace	      on
      SaveName		      "anminjunw1"
      DataFormat	      "Array"
      LimitDataPoints	      off
      SampleInput	      on
      SampleTime	      "1e-3"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope4"
      Ports		      [1]
      Position		      [235, 158, 265, 192]
      Location		      [5, 60, 1029, 737]

⌨️ 快捷键说明

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