yundongkongzhi.mdl

来自「MATLAB异步电机仿真资料」· MDL 代码 · 共 2,768 行 · 第 1/5 页

MDL
2,768
字号
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain3"
	  Position		  [205, 30, 235, 60]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Gain			  "5.9"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [305, 95, 335, 125]
	  IgnoreLimit		  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "ib1"
	  Position		  [400, 103, 430, 117]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "pib1"
	  Position		  [405, 153, 435, 167]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  DstBlock		  "Add"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "pib2"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Gain2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "ub1"
	  SrcPort		  1
	  Points		  [40, 0; 0, 25]
	  DstBlock		  "Add"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Add"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  Points		  [0, 0; 15, 0]
	  Branch {
	    DstBlock		    "Integrator"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 50]
	    DstBlock		    "pib1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    Points		    [0, -65]
	    DstBlock		    "Gain3"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "ib1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Gain3"
	  SrcPort		  1
	  Points		  [-65, 0; 0, 45]
	  DstBlock		  "Add"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "ib22222"
      Ports		      [4, 2]
      Position		      [790, 460, 850, 565]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      System {
	Name			"ib22222"
	Location		[41, 387, 586, 596]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "pib1"
	  Position		  [25, 33, 55, 47]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "w"
	  Position		  [25, 78, 55, 92]
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "ia2"
	  Position		  [25, 123, 55, 137]
	  Port			  "3"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "ia1"
	  Position		  [25, 168, 55, 182]
	  Port			  "4"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add"
	  Ports			  [4, 1]
	  Position		  [265, 60, 315, 150]
	  Inputs		  "--++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [170, 25, 200, 55]
	  Gain			  "0.55"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [170, 80, 200, 110]
	  Gain			  "0.58"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain2"
	  Position		  [170, 140, 200, 170]
	  Gain			  "0.55"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain3"
	  Position		  [345, 90, 375, 120]
	  Gain			  "1.724"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain4"
	  Position		  [345, 15, 375, 45]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Gain			  "5.6"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [415, 90, 445, 120]
	  IgnoreLimit		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [100, 137, 130, 168]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [100, 77, 130, 108]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Outport
	  Name			  "ib2"
	  Position		  [490, 98, 520, 112]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "pib2"
	  Position		  [490, 143, 520, 157]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "pib1"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "w"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    Points		    [0, 60]
	    DstBlock		    "Product"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Product1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "ia2"
	  SrcPort		  1
	  Points		  [5, 0; 0, -30]
	  DstBlock		  "Product1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "ia1"
	  SrcPort		  1
	  Points		  [10, 0; 0, -15]
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Gain2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  Points		  [10, 0; 0, 20]
	  DstBlock		  "Add"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [30, 0; 0, 55]
	  DstBlock		  "Add"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  Points		  [20, 0; 0, -20]
	  DstBlock		  "Add"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Add"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Gain3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain3"
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    Points		    [0, 45]
	    DstBlock		    "pib2"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Integrator"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    DstBlock		    "ib2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -75]
	    DstBlock		    "Gain4"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Gain4"
	  SrcPort		  1
	  Points		  [-90, 0]
	  DstBlock		  "Add"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "powergui"
      Ports		      []
      Position		      [15, 15, 75, 39]
      FontSize		      11
      SourceBlock	      "powerlib/powergui"
      SourceType	      "PSB option menu block"
      ShowPortLabels	      on
      SimulationMode	      "Continuous"
      SampleTime	      "0"
      echomessages	      off
      x0status		      "blocks"
      Frange		      "[0:2:500]"
      Ylog		      off
      Xlog		      on
      ShowGrid		      off
      save		      off
      variable		      "ZData"
      ZoomFFT		      on
      StartTime		      "0.0"
      cycles		      "1"
      DisplayStyle	      "1"
      fundamental	      "60"
      FreqAxis		      off
      MaxFrequency	      "1000"
      frequencyindice	      "1"
      frequencyindicesteady   "1"
      RmsSteady		      "1"
      display		      off
      Ts		      "0"
      frequency		      "60"
      methode		      off
    }
    Line {
      SrcBlock		      "ia111"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	Points			[0, 360]
	Branch {
	  Points		  [0, 50]
	  DstBlock		  "Subsystem"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "ib22222"
	  DstPort		  4
	}
      }
      Branch {
	DstBlock		"Subsystem3"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "ia111"
      SrcPort		      2
      Points		      [210, 0]
      DstBlock		      "ia22222"
      DstPort		      1
    }
    Line {
      SrcBlock		      "ia22222"
      SrcPort		      1
      Points		      [0, 0; 45, 0]
      Branch {
	Points			[0, 170]
	Branch {
	  DstBlock		  "ib22222"
	  DstPort		  3
	}
	Branch {
	  Points		  [0, 165]
	  DstBlock		  "Subsystem"
	  DstPort		  4
	}
      }
      Branch {
	Points			[185, 0; 0, 45]
	DstBlock		"Subsystem1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "ib22222"
      SrcPort		      2
      Points		      [45, 0; 0, 45; -440, 0; 0, -285]
      DstBlock		      "ib111111"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Saturation"
      SrcPort		      1
      DstBlock		      "Subsystem"
      DstPort		      5
    }
    Line {
      SrcBlock		      "ib111111"
      SrcPort		      1
      Points		      [40, 0; 0, 15]
      Branch {
	Points			[0, 115]
	Branch {
	  DstBlock		  "ia22222"
	  DstPort		  3
	}
	Branch {
	  Points		  [0, 265]
	  DstBlock		  "Subsystem"
	  DstPort		  3
	}
      }
      Branch {
	DstBlock		"Subsystem3"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Subsystem"
      SrcPort		      2
      Points		      [35, 0]
      Branch {
	Points			[0, 70; -600, 0; 0, -270]
	Branch {
	  Points		  [0, -130]
	  DstBlock		  "ia22222"
	  DstPort		  2
	}
	Branch {
	  DstBlock		  "ib22222"
	  DstPort		  2
	}
      }
      Branch {
	DstBlock		"Scope1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "ib22222"
      SrcPort		      1
      Points		      [0, 0; 80, 0]
      Branch {
	Points			[0, 140]
	Branch {
	  DstBlock		  "Subsystem"
	  DstPort		  2
	}
	Branch {
	  Points		  [-395, 0; 0, -210]
	  DstBlock		  "ia22222"
	  DstPort		  4
	}
      }
      Branch {
	DstBlock		"Subsystem1"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "ia22222"
      SrcPort		      2
      Points		      [20, 0; 0, 50; -415, 0; 0, -235]
      DstBlock		      "ia111"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Subsystem1"
      SrcPort		      1
      DstBlock		      "Scope"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Subsystem1"
      SrcPort		      2
      DstBlock		      "Scope"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Subsystem2"
      SrcPort		      1
      Points		      [80, 0]
      Branch {
	DstBlock		"ia111"
	DstPort			1
      }
      Branch {
	DstBlock		"Scope5"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Subsystem2"
      SrcPort		      2

⌨️ 快捷键说明

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