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

📄 dianliuzhihuanbijiaofa.mdl

📁 电流滞环比较法源程序
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "ibr"
	      Position		      [25, 70, 45, 90]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Relay
	      Name		      "Relay1"
	      Position		      [185, 37, 210, 53]
	      OnSwitchValue	      "0.25"
	      OffSwitchValue	      "-0.25"
	      OnOutputValue	      "155"
	      OffOutputValue	      "-155"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum2"
	      Ports		      [2, 1]
	      Position		      [135, 65, 155, 85]
	      Inputs		      "-+"
	    }
	    Block {
	      BlockType		      TransferFcn
	      Name		      "Transfer Fcn"
	      Position		      [85, 14, 110, 36]
	      Denominator	      "[50e-6 1]"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "vb"
	      Position		      [240, 35, 260, 55]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "ibr"
	      SrcPort		      1
	      DstBlock		      "Sum2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum2"
	      SrcPort		      1
	      Points		      [0, -30]
	      DstBlock		      "Relay1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Relay1"
	      SrcPort		      1
	      DstBlock		      "vb"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "ib"
	      SrcPort		      1
	      DstBlock		      "Transfer Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Transfer Fcn"
	      SrcPort		      1
	      DstBlock		      "Sum2"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "compar2"
	  Ports			  [2, 1]
	  Position		  [375, 315, 400, 355]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "compar2"
	    Location		    [260, 68, 541, 211]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "ic"
	      Position		      [10, 25, 30, 45]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "icr"
	      Position		      [10, 75, 30, 95]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Relay
	      Name		      "Relay1"
	      Position		      [190, 57, 215, 73]
	      OnSwitchValue	      "0.25"
	      OffSwitchValue	      "-0.25"
	      OnOutputValue	      "155"
	      OffOutputValue	      "-155"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum2"
	      Ports		      [2, 1]
	      Position		      [145, 55, 165, 75]
	      Inputs		      "-+"
	    }
	    Block {
	      BlockType		      TransferFcn
	      Name		      "Transfer Fcn"
	      Position		      [65, 24, 90, 46]
	      Denominator	      "[50e-6 1]"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "vc"
	      Position		      [245, 55, 265, 75]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "icr"
	      SrcPort		      1
	      DstBlock		      "Sum2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum2"
	      SrcPort		      1
	      DstBlock		      "Relay1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Relay1"
	      SrcPort		      1
	      DstBlock		      "vc"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "ic"
	      SrcPort		      1
	      DstBlock		      "Transfer Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Transfer Fcn"
	      SrcPort		      1
	      DstBlock		      "Sum2"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Reference
	  Name			  "vab"
	  Description		  "source block"
	  Ports			  [1, 0, 0, 0, 0, 1, 1]
	  Position		  [522, 185, 553, 210]
	  Orientation		  "up"
	  NamePlacement		  "alternate"
	  AttributesFormatString  "\\n"
	  SourceBlock		  "powerlib/Electrical\nSources/Controlled Vol"
"tage Source"
	  SourceType		  "Controlled Voltage Source"
	  ShowPortLabels	  on
	  Initialize		  on
	  SourceType		  "AC"
	  Amplitude		  "0"
	  Phase			  "0"
	  Frequency		  "0"
	  Measurements		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "vbc"
	  Description		  "source block"
	  Ports			  [1, 0, 0, 0, 0, 1, 1]
	  Position		  [527, 335, 558, 360]
	  Orientation		  "up"
	  AttributesFormatString  "\\n"
	  SourceBlock		  "powerlib/Electrical\nSources/Controlled Vol"
"tage Source"
	  SourceType		  "Controlled Voltage Source"
	  ShowPortLabels	  on
	  Initialize		  on
	  SourceType		  "AC"
	  Amplitude		  "0"
	  Phase			  "0"
	  Frequency		  "0"
	  Measurements		  "None"
	}
	Block {
	  BlockType		  PMIOPort
	  Name			  "va"
	  Position		  [715, 163, 745, 177]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Port			  "1"
	  Side			  "Right"
	}
	Block {
	  BlockType		  PMIOPort
	  Name			  "vb"
	  Position		  [735, 258, 765, 272]
	  Orientation		  "left"
	  Port			  "2"
	  Side			  "Right"
	}
	Block {
	  BlockType		  PMIOPort
	  Name			  "vc"
	  Position		  [730, 368, 760, 382]
	  Orientation		  "left"
	  Port			  "3"
	  Side			  "Right"
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  1
	  DstBlock		  "compar"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  2
	  Points		  [20, 0; 0, 35]
	  DstBlock		  "compar1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  3
	  Points		  [10, 0; 0, 70]
	  DstBlock		  "compar2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux3"
	  SrcPort		  3
	  DstBlock		  "compar2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Demux3"
	  SrcPort		  2
	  Points		  [40, 0; 0, -40]
	  DstBlock		  "compar1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Demux3"
	  SrcPort		  1
	  Points		  [30, 0; 0, -75]
	  DstBlock		  "compar"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "compar"
	  SrcPort		  1
	  Points		  [0, -50]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "compar1"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    Points		    [0, -90]
	    DstBlock		    "Sum"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 40]
	    DstBlock		    "Sum1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "compar2"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "iabc"
	  SrcPort		  1
	  DstBlock		  "Demux2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "iref"
	  SrcPort		  1
	  DstBlock		  "Demux3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  Points		  [0, 35]
	  DstBlock		  "vab"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  Points		  [0, 45]
	  DstBlock		  "vbc"
	  DstPort		  1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "vbc"
	  SrcPort		  LConn1
	  DstBlock		  "vc"
	  DstPort		  RConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "vab"
	  SrcPort		  RConn1
	  DstBlock		  "va"
	  DstPort		  RConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "vb"
	  SrcPort		  RConn1
	  Points		  [-180, 0; 5, 0]
	  Branch {
	    ConnectType		    "DEST_DEST"
	    SrcBlock		    "vbc"
	    SrcPort		    RConn1
	    Points		    [0, -55]
	  }
	  Branch {
	    ConnectType		    "DEST_SRC"
	    DstBlock		    "vab"
	    DstPort		    LConn1
	  }
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Permanent Magnet\nSynchronous Machine"
      Ports		      [1, 1, 0, 0, 0, 3]
      Position		      [545, 138, 640, 212]
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Machines/Permanent Magnet\nSynchronous"
" Machine"
      SourceType	      "Permanent Magnet Synchronous Machine"
      ShowPortLabels	      on
      PresetModel	      "No"
      ShowDetailedParameters  on
      Resistance	      "2.875"
      Inductances	      "[8.5e-3, 8.5e-3]"
      Flux		      "0.175"
      Mechanical	      "[ 0.8e-3, 0,  4 ]"
    }
    Block {
      BlockType		      Constant
      Name		      "Speed Ref"
      Position		      [110, 153, 140, 177]
      Value		      "700"
    }
    Block {
      BlockType		      Step
      Name		      "Step"
      Position		      [480, 136, 495, 154]
      NamePlacement	      "alternate"
      Time		      "0.04"
      Before		      "1"
      After		      "3"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [180, 160, 200, 180]
      ShowName		      off
      Inputs		      "+-"
    }
    Block {
      BlockType		      SubSystem
      Name		      "dq2abc"
      Ports		      [4, 1]
      Position		      [275, 156, 345, 244]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"dq2abc"
	Location		[291, 322, 671, 588]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "iqref"
	  Position		  [65, 55, 85, 75]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "idref"
	  Position		  [65, 95, 85, 115]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "ioref"
	  Position		  [65, 135, 85, 155]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "the"
	  Position		  [65, 175, 85, 195]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [170, 75, 210, 95]
	  Expr			  "u(1)*cos(u(4)) + u(2)*sin(u(4)) + u(3)"
	}
	Block {
	  BlockType		  Fcn

⌨️ 快捷键说明

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