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

📄 iwopen.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [730, 90, 750, 110]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum4"
	  Ports			  [2, 1]
	  Position		  [75, 225, 95, 245]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace1"
	  Position		  [390, 183, 440, 217]
	  VariableName		  "fro"
	  MaxDataPoints		  "1"
	  SampleTime		  "-1"
	  SaveFormat		  "Array"
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace2"
	  Position		  [500, 23, 550, 57]
	  Orientation		  "left"
	  VariableName		  "fso"
	  MaxDataPoints		  "1"
	  SampleTime		  "-1"
	  SaveFormat		  "Array"
	}
	Block {
	  BlockType		  Gain
	  Name			  "rot1"
	  Position		  [195, 185, 225, 215]
	  Orientation		  "left"
	  Gain			  "[0 -1;1 0]"
	  Multiplication	  "Matrix(K*u)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "rot2"
	  Position		  [615, 135, 645, 165]
	  Gain			  "1/(120*pi)"
	  Multiplication	  "Matrix(K*u)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "rot3"
	  Position		  [635, 85, 665, 115]
	  Gain			  "[0 -1;1 0]"
	  Multiplication	  "Matrix(K*u)"
	}
	Block {
	  BlockType		  Outport
	  Name			  "es"
	  Position		  [800, 93, 830, 107]
	  FontWeight		  "bold"
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  Points		  [-50, 0]
	  DstBlock		  "Sum1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Integrator1"
	  SrcPort		  1
	  Points		  [0, 0; 15, 0]
	  Branch {
	    Labels		    [1, 0]
	    Points		    [0, -95]
	    Branch {
	      DstBlock		      "rot1"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "To Workspace1"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, -50]
	      DstBlock		      "1/Lr"
	      DstPort		      1
	    }
	  }
	  Branch {
	    DstBlock		    "Display"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "rot1"
	  SrcPort		  1
	  Points		  [-70, 0]
	  DstBlock		  "Product1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum4"
	  SrcPort		  1
	  DstBlock		  "Product1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Gain5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain5"
	  SrcPort		  1
	  DstBlock		  "Integrator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "wk"
	  SrcPort		  1
	  Points		  [5, 0; 0, 75]
	  DstBlock		  "Sum4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "wm"
	  SrcPort		  1
	  DstBlock		  "Sum4"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "vr"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  Name			  "es"
	  Labels		  [0, 0]
	  SrcBlock		  "Lm"
	  SrcPort		  1
	  Points		  [25, 0; 0, -50]
	  Branch {
	    Points		    [0, 0; 0, -60]
	    Branch {
	      DstBlock		      "Display1"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "To Workspace2"
	      DstPort		      1
	    }
	  }
	  Branch {
	    Points		    [0, 0]
	    Branch {
	      DstBlock		      "rot3"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 50]
	      DstBlock		      "rot2"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    DstBlock		    "es"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Display3"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "rot3"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Derivative"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "rot2"
	  SrcPort		  1
	  DstBlock		  "Derivative"
	  DstPort		  1
	}
	Line {
	  Name			  "ir"
	  SrcBlock		  "1/Lr"
	  SrcPort		  1
	  Points		  [0, 0; 40, 0]
	  Branch {
	    DstBlock		    "Lm"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 210]
	    Branch {
	      DstBlock		      "Gain1"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 0]
	      DstBlock		      "Display2"
	      DstPort		      1
	    }
	  }
	}
	Annotation {
	  Name			  "ROTOR"
	  Position		  [243, 242]
	  ForegroundColor	  "red"
	  FontSize		  12
	}
	Annotation {
	  Name			  "fr"
	  Position		  [335, 239]
	}
	Annotation {
	  Name			  "VECTORIZED DYNAMIC MODEL OF THE INDUCTION M"
"ACHINE  IN ARBITRARY REFERENCE FRAME\n(stator open circuited --is=0)"
	  Position		  [312, 406]
	  FontSize		  12
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "ir"
	  Position		  [484, 138]
	}
      }
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator"
      Ports		      [1, 1]
      Position		      [775, 95, 805, 125]
      ShowName		      off
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator1"
      Ports		      [1, 1]
      Position		      [315, 355, 340, 385]
      ShowName		      off
      UpperSaturationLimit    "sat"
      LowerSaturationLimit    "-sat"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux2"
      Ports		      [2, 1]
      Position		      [800, 211, 805, 249]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Product
      Name		      "Product1"
      Ports		      [2, 1]
      Position		      [410, 362, 440, 393]
      ShowName		      off
    }
    Block {
      BlockType		      Product
      Name		      "Product3"
      Ports		      [2, 1]
      Position		      [400, 251, 435, 284]
      ShowName		      off
      InputSameDT	      off
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [370, 360, 390, 380]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "++|"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum3"
      Ports		      [2, 1]
      Position		      [465, 260, 485, 280]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum4"
      Ports		      [2, 1]
      Position		      [360, 250, 380, 270]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "+-|"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum5"
      Ports		      [2, 1]
      Position		      [215, 360, 235, 380]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Switch
      Name		      "Switch"
      Position		      [355, 410, 385, 440]
      Criteria		      "u2 > Threshold"
      Threshold		      "1"
      InputSameDT	      off
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace1"
      Position		      [500, 363, 550, 397]
      VariableName	      "vro"
      MaxDataPoints	      "1"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace2"
      Position		      [255, 233, 305, 267]
      NamePlacement	      "alternate"
      VariableName	      "wmo"
      MaxDataPoints	      "1"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace3"
      Position		      [120, 283, 170, 317]
      VariableName	      "vso"
      MaxDataPoints	      "1"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace4"
      Position		      [115, 408, 165, 442]
      VariableName	      "gamo"
      MaxDataPoints	      "1"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace5"
      Position		      [115, 463, 165, 497]
      VariableName	      "wo"
      MaxDataPoints	      "1"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      Scope
      Name		      "Vr"
      Ports		      [1]
      Position		      [525, 303, 555, 347]
      Location		      [574, 466, 1140, 828]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Rotor voltage [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "20"
      YMin		      "0.14"
      YMax		      "0.27"
      SaveName		      "ScopeData4"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "105000"
    }
    Block {
      BlockType		      Constant
      Name		      "Vso"
      Position		      [20, 319, 65, 351]
      Value		      "[1 0]"
    }
    Block {
      BlockType		      Gain
      Name		      "ab2ABC"
      Position		      [925, 113, 965, 157]
      Gain		      "[1 0;-0.5 sqrt(3)/2;-0.5 -sqrt(3)/2]"
      Multiplication	      "Matrix(K*u)"
    }
    Block {
      BlockType		      SubSystem
      Name		      "dq2ab "
      Ports		      [2, 1]
      Position		      [830, 85, 890, 180]
      TreatAsAtomicUnit	      off
      System {
	Name			"dq2ab "
	Location		[748, 239, 1112, 452]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "thetas"
	  Position		  [20, 112, 50, 128]
	}
	Block {
	  BlockType		  Inport
	  Name			  "dq"
	  Position		  [20, 77, 50, 93]
	  Port			  "2"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [150, 18, 280, 62]
	  ShowName		  off
	  Expr			  "u(1)*cos(u(3))-u(2)*sin(u(3))"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [150, 186, 285, 224]
	  ShowName		  off
	  Expr			  "u(1)*sin(u(3))+u(2)*cos(u(3))"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux3"
	  Ports			  [2, 1]
	  Position		  [125, 12, 130, 63]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux4"
	  Ports			  [2, 1]
	  Position		  [125, 177, 130, 228]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux5"
	  Ports			  [2, 1]
	  Position		  [320, 106, 325, 139]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Outport
	  Name			  "ab"
	  Position		  [350, 118, 380, 132]
	}
	Line {
	  SrcBlock		  "Mux3"
	  SrcPort		  1
	  DstBlock		  "Fcn"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux4"
	  SrcPort		  1
	  DstBlock		  "Fcn1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "dq"
	  SrcPort		  1
	  Points		  [15, 0; 0, 0]
	  Branch {
	    Points		    [0, -60]
	    DstBlock		    "Mux3"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 105]
	    DstBlock		    "Mux4"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "thetas"
	  SrcPort		  1
	  Points		  [125, 0]
	  Branch {
	    Points		    [0, -35; -80, 0; 0, -35]
	    DstBlock		    "Mux3"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 40; -80, 0; 0, 55]
	    DstBlock		    "Mux4"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Fcn1"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Mux5"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  Points		  [20, 0]
	  DstBlock		  "Mux5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux5"
	  SrcPort		  1
	  DstBlock		  "ab"
	  DstPort		  1

⌨️ 快捷键说明

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