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

📄 hysteresis_grid1.mdl

📁 This file is hysterisis two level controller
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  MaskVisibilityString	  "on"
	  MaskToolTipString	  "on"
	  MaskVariables		  "h=@1;"
	  MaskIconFrame		  on
	  MaskIconOpaque	  off
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "10"
	  System {
	    Name		    "Current\nRegulator"
	    Location		    [251, 575, 715, 769]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Iabc"
	      Position		      [25, 33, 55, 47]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Iabc*"
	      Position		      [25, 128, 55, 142]
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Data Type \nConversion"
	      Position		      [260, 44, 280, 66]
	      ShowName		      off
	      OutDataTypeMode	      "boolean"
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Data Type \nConversion1"
	      Position		      [345, 44, 365, 66]
	      ShowName		      off
	      OutDataTypeMode	      "double"
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Data Type \nConversion2"
	      Position		      [345, 94, 365, 116]
	      ShowName		      off
	      OutDataTypeMode	      "double"
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Data Type \nConversion3"
	      Position		      [345, 144, 365, 166]
	      ShowName		      off
	      OutDataTypeMode	      "double"
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Data Type \nConversion4"
	      Position		      [250, 94, 270, 116]
	      ShowName		      off
	      OutDataTypeMode	      "boolean"
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Data Type \nConversion5"
	      Position		      [250, 144, 270, 166]
	      ShowName		      off
	      OutDataTypeMode	      "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]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      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		  Fcn
	  Name			  "Fcn"
	  Position		  [200, 53, 340, 77]
	  Expr			  "u[1]*cos(u[3])-u[2]*sin(u[3])"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [200, 102, 340, 128]
	  Expr			  "u[1]*sin(u[3])+u[2]*cos(u[3])"
	}
	Block {
	  BlockType		  From
	  Name			  "From2"
	  Position		  [620, 50, 665, 70]
	  BackgroundColor	  "[0.501961, 1.000000, 1.000000]"
	  ShowName		  off
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "Iabc"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [3, 1]
	  Position		  [165, 62, 170, 128]
	  ShowName		  off
	  Inputs		  "3"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1]
	  Position		  [365, 71, 370, 109]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux2"
	  Ports			  [3, 1]
	  Position		  [600, 71, 605, 109]
	  ShowName		  off
	  Inputs		  "3"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "half Ts advance "
	  Position		  [85, 170, 125, 190]
	  Expr			  "u(1)+100*pi*Ts/2"
	}
	Block {
	  BlockType		  Constant
	  Name			  "id*"
	  Position		  [25, 63, 55, 87]
	  Value			  "0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "iq*"
	  Position		  [30, 113, 60, 137]
	  Value			  "100"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "

⌨️ 快捷键说明

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